package com.questionnaires.utils;

import com.questionnaires.model.Question;

import java.util.List;

/**
 * Value object for holding information related to one questions statistics, given as a list
 * of ResponsePercentage objects.
 *
 * @author ioana.ruca@gmail.com
 */
public class ResponseQuestionStatistics {

    private Question question;
    private List<ResponsePercentage> responsePercentage;

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public List<ResponsePercentage> getResponsePercentage() {
        return responsePercentage;
    }

    public void setResponsePercentage(List<ResponsePercentage> responsePercentage) {
        this.responsePercentage = responsePercentage;
    }
}
